<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="">
<head>
  <meta charset="UTF-8" />
  <title>登录</title>
  <link rel="stylesheet" th:href="@{/css/login.css}" />
</head>
<body>
<form method="post" action="/login">
  <h2>登录</h2>
  <label>
    用户名：
    <input type="text" name="username" placeholder="请输入用户名" required />
  </label>
  <label>
    密码：
    <input type="password" name="password" placeholder="请输入密码" required />
  </label>
  <button type="submit">登录</button>
  <a href="/register">注册账号</a>
</form>
</body>
</html>
